package cn.wd.user.service.impl;


import cn.wd.user.domain.entity.BulletMsgSensitive;
import cn.wd.user.domain.mapper.BulletMsgSensitiveMapper;
import cn.wd.user.qo.BulletMsgSensitiveQueryObject;
import cn.wd.user.service.IBulletMsgSensitiveService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

@Service
public class BulletMsgSensitiveServiceImpl extends ServiceImpl<BulletMsgSensitiveMapper, BulletMsgSensitive> implements IBulletMsgSensitiveService {

    // private final BulletMsgSensitiveMapper mapper;
    //
    // public BulletMsgSensitiveServiceImpl(BulletMsgSensitiveMapper mapper) {
    //     this.mapper = mapper;
    // }

    // @Override
    // public List<BulletMsgSensitive> selectAll() {
    //     return mapper.selectAll();
    // }

    // @Override
    // public void save(BulletMsgSensitive obj) {
    //     mapper.insert(obj);
    // }
    //
    // @Override
    // public void updateById(BulletMsgSensitive obj) {
    //     mapper.updateByPrimaryKey(obj);
    // }
    //
    // @Override
    // public BulletMsgSensitive selectById(Long id) {
    //     return mapper.selectByPrimaryKey(id);
    // }

    @Override
    public Page<BulletMsgSensitive> listBulletMsgSensitivePage(BulletMsgSensitiveQueryObject qo) {
        return baseMapper.selectCustomPage(qo, new LambdaQueryWrapper<BulletMsgSensitive>());
    }
    //
    // @Override
    // public void deleteById(Long id) {
    //     mapper.deleteByPrimaryKey(id);
    // }
}
